<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>薪资查询</title>

    <script type="text/javascript" src="common.js"></script>
</head>
<body ng-controller="myController">
<ion-nav-bar>
    <ion-nav-back-button>
    </ion-nav-back-button>
</ion-nav-bar>


<ion-nav-view></ion-nav-view>
<!--首页面-->
<script id="home.html" type="text/ng-template">
    <ion-view title="薪 资 查 询" hide-back-button="true">
        <ion-content style="overflow:hidden;" scroll="false">
            <div style="height: 100%">
                <div class="home-img"><img src="img/1.bmp"></div>
                <div style="width:100%;height: 20%">
                    <label class="item item-input input-style input-pw">
                        <input type="password" ng-model="user.searchPassword" placeholder="请输入薪资查询密码">
                    </label>

                    <div style="margin:20px 20px 20px 20px;">
                        <a class="btnPassword update-password" href="#/updatePassword">修改密码</a>
                        <a class="btnPassword forgot-password" ng-click="findPassword()">找回密码</a>
                    </div>
                </div>
                <div class="backg">
                    <div class="position-fix">
                        <button class="button button-calm button-radius button-full button-style-fix"
                                ng-click="searchInfo(user)">查 询 薪 资
                        </button>
                    </div>
                </div>
            </div>
        </ion-content>
    </ion-view>
</script>

<!--修改密码页面-->
<script id="updatePassword.html" type="text/ng-template">
    <ion-view title="修 改 密 码" hide-back-button="true">
        <ion-nav-buttons side="left">
            <button class="button-icon button back-button ion-ios-arrow-back" style="font-size:30px;border:0px;"
                    ng-click="upBackHome()"></button>
        </ion-nav-buttons>
        <ion-content>
            <div style="margin:20px 0">
                <label class="item item-input input-style">
                    <input type="password" ng-model="password.oldPassword" placeholder="旧密码"></label>
                <label class="item item-input input-style">
                    <input type="password" ng-model="password.newPassword" placeholder="新密码"></label>
                <label class="item item-input input-style">
                    <input type="password" ng-model="password.affirmPassword" placeholder="再次输入新密码"></label>

                <div class="position-fix">
                    <a class="button button-style-fix" ng-click="affirm(password)">确 认</a>
                </div>
            </div>
        </ion-content>
    </ion-view>
</script>
<!--某月工资明细-->
<script id="currentMonthDetail.html" type="text/ng-template">
    <ion-view title={{CurrentMonth}} on-swipe-left="nextMonth()" on-swipe-right="prevMonth()">
        <ion-nav-buttons side="right">
            <button class="button button-icon ion-ios-calendar-outline select-calendar"
                    ng-click="selectdate()"></button>
        </ion-nav-buttons>
        <ion-content>
            <div class="mySalary-p">
                <div class="mySalary mySalary-month">
                    <div class="mySalary-top">{{curMonth.monthSalary}}</div>
                    <div class="mySalary-bottom">{{monthValue}}薪资</div>
                </div>
                <div class="mySalary mySalary-year">
                    <div class="mySalary-top">{{curYear.yearSalary}}</div>
                    <div class="mySalary-bottom">{{yearValue}}度合计</div>
                </div>
            </div>
            <div class="monthTitle"><span class="mt-l"></span><span style="margin-left:5px;">{{monthTitle}}</span>
            </div>
            <div class="list">
                <div class="item" style="padding:0px;" ng-repeat="obj in dataMonthList">
                    <div class="row {{obj.RowColor}}">
                        <div class="col fColor">{{obj.SalaryItemName}}</div>
                        <div class="col fColor valueAlign {{obj.ValueColor}}">{{obj.SalaryItemValue}}</div>
                    </div>
                </div>
            </div>
            <ion-content>
    </ion-view>
</script>

</body>
</html>